package day0625;

import java.util.Arrays;

public class Test8 {
    public static void main(String[] args) {
        int[][]  a=new int[3][6];
        for(int i=0;i<a.length; i++){
            for(int j=0; j<a[0].length ;j++){
                a[i][j]= (j+1)+i*6;
            }
        }

        for (int i=0;i<a.length; i++) {

            for(int j=0;j<a[0].length;j++){
                System.out.print(a[i][j]+",\t");
            }
            /*
            System.out.print(a[i][0]+",\t");
            System.out.print(a[i][1]+",\t");
            System.out.print(a[i][2]+",\t");
            System.out.print(a[i][3]+",\t");
            System.out.print(a[i][4]+",\t");
            System.out.print(a[i][5]+",\t");
            */
            System.out.println();
        }


    }
}
